﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Odyssey.Linq;
using Odyssey.Web.Models;

namespace Odyssey.Web.Areas.Admin.Controllers
{
    public class CustompageController : BaseController<tb_custompage>
    {
        [ValidateInput(false)]
        public override ActionResult Save(int? id)
        {
            return base.Save(id);
        }

        protected override void BeforeSaveOrUpdate(tb_custompage entity)
        {
            entity.UpdateBy = entity.CreateBy = SessionManager.User.username;
        }
    }
}

